package com.forward;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/doctor")
public class DoctorForward {

    @RequestMapping(value = "/welcome")
    public String welcome() {
        return "doctor/welcome";
    }

    @RequestMapping(value = "/profile")
    public String profile() {
        return "doctor/profile";
    }

    @RequestMapping(value = "/query-drug-list")
    public String queryDrugList() {
        return "doctor/query-drug-list";
    }

    @RequestMapping(value = "/add-rx-form")
    public String addRxForm() {
        return "doctor/rx-form";
    }

    @RequestMapping(value = "/edit-rx-form")
    public String editRxForm() {
        return "doctor/rx-form";
    }

    @RequestMapping(value = "/submit-rx-form")
    public String submitRxForm() {
        return "doctor/rx-form";
    }

    @RequestMapping(value = "/submit-rx-drug-form")
    public String submitRxDrugForm() {
        return "doctor/rx-form";
    }

    @RequestMapping(value = "/query-solved-rx-list")
    public String querySolvedRxList() {
        return "doctor/query-solved-rx-list";
    }

    @RequestMapping(value = "/query-unsolved-rx-list")
    public String queryUnsolvedRxList() {
        return "doctor/query-unsolved-rx-list";
    }

    @RequestMapping(value = "/query-specific-rx")
    public String querySpecificRx() {
        return "doctor/query-specific-rx";
    }

    @RequestMapping(value = "/delete-rx")
    public String deleteRx() {
        return "doctor/query-unsolved-rx-list";
    }

    @RequestMapping(value = "/delete-rx-drug")
    public String deleteRxDrug() {
        return "doctor/rx-form";
    }

    @RequestMapping(value = "/query-specific-doctor")
    public String querySpecificDoctor() {
        return "doctor/query-specific-doctor";
    }
    
    @RequestMapping(value = "/changeDpwd")
    public String changeDpwd() {
        return "doctor/profile";
    }
}
